home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / 0utils.lha / 0Utils / WriteLn.doc < prev    next >
Text File  |  1995-09-05  |  1KB  |  71 lines

  1.  
  2.  
  3.  
  4.     NAME
  5.     WriteLn
  6.  
  7.     SYNOPSIS
  8.     WriteLn -  Write a line of text to a specified _Filehandle_  - Requires v37
  9.  
  10.     INPUTS
  11.     "FILEHANDLE/N/A,NOLINE/S,TEXT/F"
  12.  
  13.     DESCRIPTION
  14.  
  15.     WriteLn is a bit superfluous, since all U can
  16.     do with it can easily - and perhaps better -
  17.     be achieved with the use of echo and output
  18.     redirection ('>>') (expect for the case, we
  19.     try to redirect to things like CON:...).
  20.  
  21.     WriteLn just copies a string to a filehandle that
  22.     was previousy opened with 'Open'; it is part of
  23.     the archive just for completeness: if we have a
  24.     open/close/read, everyone can also expect a 'write'.
  25.     ReadLn does no checks on the given filehandle, so
  26.     it should be used carefully.
  27.  
  28.     RESULT
  29.     -/-
  30.     
  31.  
  32.     
  33.         
  34.  
  35.     NOTES
  36.     * CLI - only
  37.  
  38.     * should compile with SAS-C
  39.     
  40.  
  41.     WriteLn is highly dangerous! Do not Use it,
  42.     if U do not exactly know what U are doing!
  43.     
  44.  
  45.     BUGS
  46.  
  47.  
  48.     EXAMPLES
  49.  
  50.     > set fh `Open T:writetest WRITE`
  51.     > WriteLn $fh This is a test
  52.     > Close $fh
  53.     > Unset fh
  54.     > cat T:writetest
  55.       This is a test
  56.     
  57.  
  58.     HISTORY
  59.  
  60.     21-02-95 b_noll created
  61.     21-02-95 b_noll added version/format-prefix/offset
  62.     20-03-95 b_noll added args diagnostics
  63.     20-03-95 b_noll fixed an error - writeln in fact never worked
  64.     19-08-95 b_noll created .data file
  65.     
  66.  
  67.     AUTHOR
  68.     Bernd Noll, Brunnenstrasse 55, D-67661 Kaiserslautern
  69.     noll@student.uni-kl.de
  70.  
  71.